/**
ysbPatchTest.mg
*/

class YSBLoginViewController:YSBViewController {


- (void)configurationUI {
    
    self.addSubViews();
    self.resetLoginView();
    
}


}



class YSBRecordCell : UITableViewCell {


-(void)setModel:(YSBRecordModel *)model {
    _model = model;
    if (self.recordType == 0) {//提现
        
        self.typeLabel.text = @"提现";
        
        NSMutableString *mutStr = NSMutableString.alloc().initWithString:(@"-");
        mutStr.appendString:(model.total);
        self.moneyLabel.text = mutStr;
        
    }
    else if (self.recordType == 2) {//资金明细
        
        self.typeLabel.text = YSBCommonTool.isBlankString:(model.type) ? @"" : model.type;
                
        NSMutableString *mutStr = NSMutableString.alloc().initWithString:(model.flag);
        mutStr.appendString:(model.money);
        self.moneyLabel.text = mutStr;
        
    }
    else if (self.recordType == 1) {//充值
        
        self.typeLabel.text = @"充值";
        
        NSMutableString *mutStr = NSMutableString.alloc().initWithString:(@"+");
        mutStr.appendString:(model.money);
        self.moneyLabel.text = mutStr;
        
    }
    self.timeLabel.text = model.created_at;
    self.statusLabel.text = model.status;
}


}
